//
//  ForbidNetShare.m
//  gdemm
//
//  Created by 乔明超 on 16/4/1.
//  Copyright © 2016年 Goldencis. All rights reserved.
//

#import "ForbidNetShare.h"
@interface ForbidNetShare()
{
    BOOL _mDisable;

}
@end
@implementation ForbidNetShare 
static ForbidNetShare *_mInstance;

- (instancetype)init
{
    self = [super init];
    if (self) {
        _mDisable = NO;
    }
    return self;
}

+ (instancetype)getInstance{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _mInstance = [[self alloc]init];
    });
    return _mInstance;
    
}

- (NSString *)supportPolicy{

    return FORBID_NET_SHARE;
}
- (BOOL)startPolicyWithPolicyType:(NSString *)policyType policyContent:(NSString *)policyContent{
    _mDisable = YES;
    return YES;

}

- (BOOL)stopPolicyWithPolicyType:(NSString *)policyType{
    _mDisable = NO;
    return NO;
}

- (BOOL)valid{

    return _mDisable;
}

- (void)run{
    
}
@end
